* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-height: 90px; /* adjust if needed */
}

@font-face {
    font-family: Inter;
    src: url(../fonts/InterTight-VariableFont_wght.ttf);
}

@font-face {
    font-family: Zen Kurenaido;
    src: url(../fonts/ZenKurenaido-Regular.ttf);
}

@font-face {
    font-family: Coromant;
    src: url(../fonts/Cormorant-VariableFont_wght.ttf);
}

.site-header {
    position: fixed;  /* must be fixed for hide-on-scroll */
    top: 0;
    width: 100%;
    text-align: center;
    background-color: #F4ECE5;
    z-index: 1001;
    transition: transform 0.3s ease; /* smooth hide/show */
}

.site-header.header-hidden {
    transform: translateY(-100%); /* moves header completely out of view */
}

.site-title {
    font-family: 'Zen Kurenaido';
    font-size: 28px;
    font-weight: 400;
    padding: 20px 0 10px 0; /* much less top padding */
    margin: 0;
    color: #DE2720;
}

body {
    background-color: #F4ECE5;
    color: #DE2720;
    margin: 0;
    padding-top: 20px; /* space for title + nav */
    font-family: 'Coromant';
}

/* Center the nav and site-title */
nav {
    display: flex;
    align-items: center;  /* Vertically center the items */
    justify-content: center;  /* Center the nav and site title horizontally */
    width: 100%;
    padding: 10px 30px; /* Add some padding to the sides for breathing room */
}

.site-header nav {
    display: flex;
    align-items: center;  /* Vertically align the title and nav */
    justify-content: center;  /* Center everything horizontally */
    gap: 30px; /* Space between the site title and the navigation items */
}

ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Center the nav items horizontally */
    gap: 40px;
    margin: 0;
    padding: 0;
}

ul li a {
    font-family: 'Zen Kurenaido';
    font-size: 16px;
    font-weight: 400;
    color: #DE2720;
    text-decoration: none;
    padding: 10px 0;
    letter-spacing: 0.03em;
}

ul li a span {
    position: relative;
}

ul li a span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1.5px;
    background-color: #DE2720;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

ul li a:hover span::after {
    transform: scaleX(1);
}

/* Tablet and Mobile Styles */

/* Tablet view: 1024px and below */
@media (max-width: 1024px) {
    .site-header {
        padding-top: 10px; /* Adjust for smaller screens */
    }

    nav {
        padding: 10px 20px;  /* Reduce space on the sides */
        gap: 20px;  /* Add some spacing between the title and nav */
    }

    .site-title {
        font-size: 24px; /* Smaller title on tablets */
    }

    ul {
        gap: 30px; /* Less space between nav items */
    }

    ul li a {
        font-size: 14px; /* Smaller font for mobile */
    }
}

/* Mobile view: 768px and below */
@media (max-width: 768px) {
    nav {
        padding: 15px 15px;  /* Add padding for mobile */
        justify-content: center; /* Ensure title and nav items stay centered */
    }

    .site-title {
        font-size: 20px; /* Even smaller font size for mobile */
    }

    ul {
        gap: 20px; /* Less space between nav items */
    }

    ul li a {
        font-size: 14px; /* Smaller font size */
    }
}


/*---- SKOON. ------*/
/* Project overview text */

/* Fullscreen hero image */
.project-hero-full {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.project-hero-full {
  width: 100%;
  height: 70vh; /* or 60vh */
  overflow: hidden;
}


.project-overview {
  max-width: 760px;
  margin: 90px auto 30px; /* smaller bottom margin */
  text-align: center;
  color: #DE2720;
  font-family: "Cormorant Garamond", serif;
}

.project-overview-text {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Cormorant';
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  color: #DE2720;
  text-align: center;
}

.project-overview-text strong {
  font-weight: 500;
}

/* Collections section */
.project-collections {
  max-width: 820px;
  margin: 30px auto 160px; /* auto = center */
  display: flex;
  flex-direction: column;
  align-items: center;    /* center children */
  text-align: center;
}

/* Individual collection link */
.collection-link {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 16px;
  padding: 28px 0;
  text-decoration: none;
  color: #DE2720;
  font-family: 'Zen Kurenaido';
  font-size: 22px;
  position: relative;
}

/* Separator line */
.collection-link:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background-color: rgba(222, 39, 32, 0.3);
}

/* Number */
.collection-number {
  font-size: 16px;
  opacity: 0.7;
}

/* Title */
.collection-title {
  position: relative;
}

/* Underline hover animation */
.collection-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.collection-link:hover .collection-title::after {
  transform: scaleX(1);
}


@media (max-width: 768px) {
  .project-collections {
    margin: 100px 20px 140px;
    gap: 36px;
  }

  .collection-link {
    font-size: 20px;
  }

  .project-overview-text {
    padding: 20px;
  }
}


/*----- p1-12 --------*/

/* Split hero layout */
.photo-hero-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 100px;
}

/* Image side */
.photo-hero-image {
  overflow: hidden;
}

.photo-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text side */
.photo-hero-info {
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #DE2720;
  font-family: "Cormorant Garamond", serif;
}

.photo-title {
  font-size: 42px;
  margin-bottom: 24px;
  font-weight: 400;
}

.photo-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 32px;
}

.photo-price {
  font-size: 16px;
  font-family: "Zen Kurenaido", sans-serif;
  opacity: 0.9;
}

.photo-label {
  font-family: "Zen Kurenaido";
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 12px;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.image-modal.active {
  display: flex;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

.expandable-image {
  cursor: zoom-in;
}

.photo-enquiry-button {
  margin-top: 24px;
  width: fit-content;
  text-decoration: none;
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 14px;
  padding: 10px 26px;
  border: 1px solid #DE2720;
  border-radius: 40px;
  color: #DE2720;
  transition: all 0.3s ease;
}

.photo-enquiry-button:hover {
  background-color: #DE2720;
  color: white;
}


@media (max-width: 768px) {
  .photo-hero-split {
    grid-template-columns: 1fr;
  }

  .photo-hero-info {
    padding: 60px 30px;
  }

  .photo-title {
    font-size: 32px;
  }
}

/*--- double-cleanse ---*/

.double-cleanse {
  padding-top: 100px; /* match / slightly exceed header height */

}

.double-cleanse .project-overview {
  max-width: 760px;
  margin: 40px auto 40px;
  text-align: center;
}

.double-cleanse .project-overview-text {
  font-family: 'Coromant';
  font-size: 18px;
  line-height: 1.5;
  font-weight: 100;
  color: #DE2720;
}

/* 4-image row */
.project-image-row {
  width: 100%;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;   
  overflow: visible;
}

.project-image-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: default;
}

.project-mini-nav {
    display: flex;
    justify-content: center; /* center the links */
    gap: 40px;               /* space between each link */
    margin: 40px 0;          /* vertical spacing from hero / content */
    font-family: 'Zen Kurenaido';
}

.project-mini-nav .mini-nav-link {
    font-size: 18px;
    color: #DE2720;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.project-mini-nav .mini-nav-link.active {
    font-weight: 500;
}


.project-mini-nav .mini-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1.5px;
    background-color: #DE2720;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.project-mini-nav .mini-nav-link:hover::after {
    transform: scaleX(1);
}


.project-image-row + .studio-overview,
.project-image-row + .product-overview,
.project-image-row + .shopify-overview,
.project-image-row + .project-live-link {
  margin-top: -10px; /* pull sections closer */
}

.studio-overview,
.product-overview,
.shopify-overview {
  margin-top: 40px; /* space above the description */
  margin-bottom: 40px; /* keep some space below */
}


.project-live-link {
  margin-top: 25px; /* bring link closer to last image row */
  text-align: center;
}

/* 5-image variation */
.project-image-row.five-up {
  grid-template-columns: repeat(5, 1fr);
}


/* 6-image variation */
.project-image-row.six-up {
  grid-template-columns: repeat(3, 1fr);
}

.shopify-overview {
  margin-top: 40px;
  margin-bottom: 40px;
}

.project-image-row.five-up {
  grid-template-columns: repeat(5, 1fr);
}

.project-image-row img {
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.project-image-row img:hover {
  transform: translateX(6px);
}

.project-image-row img:nth-child(odd):hover {
  transform: translateY(-6px) scale(1.02);
}

.project-image-row img:nth-child(even):hover {
  transform: translateY(-3px) scale(1.02);
}


/* Video preview section */
.project-video-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px auto 80px;
}

/* Clickable frame wrapper */
.mobile-frame-link {
  text-decoration: none;
}

/* Phone frame */
.mobile-frame {
  position: relative; /* 👈 THIS fixes it */
  width: 280px;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.mobile-frame:hover {
  transform: translateY(-6px);
}

/* Video */
.mobile-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.mobile-frame::after {
  content: "Tap to play";
  position: absolute;
  bottom: 65px;
  left: 50%;
  font-weight: 800;
  transform: translateX(-50%);
  font-family: 'Zen Kurenaido';
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  pointer-events: none;
}

/* Caption */
.video-caption {
  margin-top: 24px;
  max-width: 420px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 100;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(222, 39, 32, 0.85);
}

.video-caption a {
  font-family: 'Zen Kurenaido';
  font-size: 15px;
  color: #DE2720;
  text-decoration: none;
  position: relative;
}

video:fullscreen {
  object-fit: contain;
  background: black;
}

.video-caption a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.video-caption a:hover::after {
  transform: scaleX(1);
}



.project-live-link a {
  font-family: 'Zen Kurenaido';
  font-size: 18px;
  color: #DE2720;
  text-decoration: none;
  position: relative;
}

.project-live-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.project-live-link a:hover::after {
  transform: scaleX(1);
}

.project-bottom-nav {
    display: flex;
    justify-content: space-between; /* back left, next right */
    max-width: 820px;
    margin: 80px auto 60px; /* spacing from content and footer */
    padding: 0 20px;
    font-family: 'Zen Kurenaido';
}

.project-bottom-nav .bottom-nav-link {
    font-size: 18px;
    color: #DE2720;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.project-bottom-nav .bottom-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: #DE2720;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.project-bottom-nav .bottom-nav-link:hover::after {
    transform: scaleX(1);
}

/* Optional: slightly bolder or color change on hover */
.project-bottom-nav .bottom-nav-link:hover {
    color: #b21e1a;
    transform: translateX(2px);
}

.project-bottom-nav .bottom-nav-link.back:hover {
    transform: translateX(-2px);
}




@media (max-width: 1100px) {
  .project-image-row.five-up {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .project-image-row.five-up {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .project-image-row.five-up {
    grid-template-columns: 1fr;
  }
}

/* Responsive handling */
@media (max-width: 1200px) {
  .project-image-row.six-up {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .project-image-row.six-up {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .project-image-row.six-up {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
    .project-bottom-nav {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .project-image-row.five-up {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .project-image-row.five-up {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-caption {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .project-image-row.five-up {
    grid-template-columns: 1fr;
  }
}


/* Responsive */
@media (max-width: 900px) {
  .project-image-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 500px) {
  .project-image-row {
    grid-template-columns: 1fr;
  }
}


/*--- eye-care ---*/

.eye-care {
  padding-top: 100px;
}

/* Two-column project overview */
.project-overview.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;            /* tighter column gap */
  max-width: 1200px;    /* narrower text block */
  margin: 60px auto 60px;
  text-align: left;
  padding: 0 20px;     /* small, intentional side padding */
}
.project-overview.two-column .project-overview-text {
  text-align: left;
}

/* Mobile collapse */
@media (max-width: 800px) {
  .project-overview.two-column {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .project-overview.two-column .project-overview-text {
    text-align: center;
  }
}


.eye-care .project-overview-text {
  font-family: 'Cormorant';
  font-weight: 100;
  font-size: 18px;
  line-height: 1.6;
  color: #DE2720;
}

/* Image rows */
.project-image-row1 {
  width: 100%;
  padding: 0 40px 120px;
  display: grid;
  gap: 16px;
}

.project-image-row1.four-up {
  grid-template-columns: repeat(3, 1fr);
}


.project-image-row1.across-up {
  grid-template-columns: repeat(4, 1fr);
}

.project-image-row1.five-up {
  grid-template-columns: repeat(2, 1fr);
}

.project-image-row1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.project-image-row1 img:hover {
  transform: translateY(-6px) scale(1.02);
}

/* Text sections spacing */
.product-overview,
.studio-overview,
.shopify-overview {
  margin-top: -40px;
  margin-bottom: 40px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .project-image-row1.four-up,
  .project-image-row1.five-up {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .project-image-row1.four-up,
  .project-image-row1.five-up {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .project-image-row1 {
    grid-template-columns: 1fr;
    padding: 0 20px 80px;
  }
}

/*--- campaign work ----*/


.campaign-page {
  padding-top: 100px;
}

/* Concept + section text */
.campaign-concept,
.campaign-section {
  max-width: 760px;
  margin: -20px auto 40px;
  text-align: center;
}

/* Image rows (reuse system) */
.campaign-page .project-image-row {
  padding-bottom: 120px;
}

/* Optional subtle section rhythm */
.campaign-section + .project-image-row {
  padding-top: 20px;
}

/* Video row */
.project-video-row {
  width: 100%;
  padding: 0 40px 120px;
  display: grid;
  gap: 16px;
}


.project-video-row.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.project-image-row.three-up {
  grid-template-columns: repeat(3, 1fr);
}

/* Video styling */
.project-video-row video {
  width: 100%;
  aspect-ratio: 9 / 16; /* Instagram-friendly */
  object-fit: cover;
  border-radius: 8px;
  background: #000;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

/* Hover motion (matches images) */
.project-video-row video:hover {
  transform: translateY(-6px) scale(1.02);
}

/* 2-up grid */
.project-image-row.two-up {
  grid-template-columns: repeat(2, 1fr);
}

/* Square crop */
.lightbox-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top; /* 👈 anchors image to the top */
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.lightbox-row img:hover {
  transform: scale(1.02);
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 40px;
}



/* Active state */
.lightbox.active {
  display: flex;
}

/* Full image */
.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  line-height: 1;
}


/* Props section spacing */
.props-section {
  margin-top: 20px;
}

/* Props overview spacing */
.props-overview {
  margin-bottom: 20px;
}

/* Props image row */
.project-image-row.props-row {
  grid-template-columns: repeat(3, 1fr);
  padding: 0 40px 120px;
}

/* Props images: keep true proportions */
.project-image-row.props-row img {
  width: 100%;
  height: auto;
  object-fit: contain; /* 👈 no cropping */
  background: transparent;
  cursor: default;
}

/* Props item */
.prop-item {
  text-align: center;
}

/* Caption styling */
.prop-item figcaption {
  margin-top: 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 300;
  color: #DE2720;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.prop-item figcaption {
  opacity: 0.7;
  margin-top: 12px;
}




/* Responsive */
@media (max-width: 1100px) {
  .project-video-row.four-up {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .project-image-row.props-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .project-image-row.props-row {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 700px) {
  .project-image-row.two-up {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 480px) {
  .project-video-row {
    grid-template-columns: 1fr;
    padding: 0 20px 80px;
  }
}

@media (max-width: 480px) {
  .project-video-row {
    grid-template-columns: 1fr;
    padding: 0 20px 80px;
  }
}

.site-footer {
  width: 100%;
  background-color: #F4ECE5;
  padding: 40px 0;
}

.footer-inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertical centering */
}

.footer-left p {
  font-family: 'Zen Kurenaido';
  font-size: 20px;
  font-weight: 400;
  color: #DE2720;
  margin: 0;
}

.footer-right {
  display: flex;
  gap: 30px;
}

.footer-right a {
  font-family: 'Zen Kurenaido';
  font-size: 14px;
  font-weight: 400;
  color: #DE2720;
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
}

/* underline hover, same language as nav */
.footer-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.footer-right a:hover::after {
  transform: scaleX(1);
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .about-inner {
        flex-direction: column;
        gap: 30px;
    }

    .about-col {
        width: 100%;
    }

    .about-col p {
        font-size: 18px;
    }

    .projects-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }

      .skills-title {
    font-size: 20px;
  }

  .skill-tag {
    font-size: 13px;
    padding: 8px 18px;
  }
}
